<template>
    <div class='primary-color'>
      <p>我是HelloWorld组件</p>
         <p>Message: {{ msg }} </p>
          <p>父组件参数：{{myParameter}}</p>
      </div>


</template>

<script>
export default {
  name: 'HelloWorld',
  props: ["myParameter"],
  data() {
    return {
      msg: 'HelloWorld组件'
      // myParameter:'123'
    };
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>

<style scoped lang="less">

</style>

